//
//  MTZMessageTableViewController.swift
//  weibomtz
//
//  Created by 毛铁柱 on 16/10/14.
//  Copyright © 2016年 mtz. All rights reserved.
//

import UIKit

class MTZMessageTableViewController: MTZVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        if visitorView != nil {
                visitorView?.setInfo("visitordiscover_image_message", message: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
            return
        }
        
        setupUI()

        }
    
    private func setupUI(){
    
        navigationItem.leftBarButtonItem = UIBarButtonItem( title: "发现群", target: self, action: "findGroup")
    
        
        
    }

    @objc private func findGroup(){
        
        print("查找群")
        let vc = MTZTempViewController()
        navigationController?.pushViewController(vc, animated: true)
    }
    
}
